fix all kinds of opengl related error, we now get an ogl 3.3 window and a triangle in the wrong spot