Added an error log call. Added a base opengl calls.