App: fixes to glut backend