added glutGetCloseFunc