Added glutCloseFunc

.... 
Best wishes,
Simon