OpenGL Framework Begin

Very basic additions, preparing transition to non-immediate rendering.
Aiming to support OpenGL version 2.1.0.