Optimized OpenGL3

Models are much faster now, and I cleaned up a lot of buggy code, should be
more stable now too.