Improves OpenGL and GLSL error handling.