* adds opengl utils.
* checks for opengl based errors