Improved physics. Switched to OpenGL 3.1