Added a logging system, reworking OpenGL