Changed main globals to Application private members; switched from GLUT to Qt for windowing, input, menus.