better logging and OpenGL ARB_debug_output