Changed OGL implementation to be static. Removed multiple instances of
the same code being created.