void init()
Generates the displaylist, ie calls the function set in set_generator . Called only when the display list needs to be generated.