App: fixes to glut backend

and style