Almost fixed openGLOutput.