Made font cache store uploaded opengl textures
Cleanup old unneeded OpenGL stuff

And split try-catch in main() to output whether it was an initialization
error or it happened in runtime.