Window functionality.

Finished most of the Window class (TODO - callbacks).
Added more OpenGL error checking functionality.
Implemented basic main loop.