Added proper cleanup in GLUS, if invalid values are passed during window
creation under desktop OpenGL.