Implemented OpenGL debug context creation