WINDOWS - added wglMakeCurrent error handling