Turn off unneeded QGLWidget flags, calculate FPS on the last 2 seconds