Menubar problems with OpenGL program