Refactor GLStateProxy a bit to look more like OpenGL.