Merged all OpenGL functionality under a common header so workarounds can be more easily applied.