Code cleanup

Missed a few things. Also cleaned up OpenGL code quite a bit, in preparation of 3D(hopefully). I have an accurate mouse position now so it should be just a matter of setting a few transformations, right?