Added OpenGL version and extension checks for constants, wip