Added a class responsible for holding the gl state instead of having a lot of functionality in GfxProgram.