integrate menubar and glWindow on windows