Updated OpenGL codebase.

Now supports OpenGL 2.0 in some aspects as well as GLKit.