* Properly detect vsync with SDL2.
* Actually create opengl context and a bit of error checking.