Removed OpenGL variables and references