don't close menu windows if when closing windows on mainloop terminate with GLUT_ACTION_DONT_DEINITIALIZE