added a shader program class. cleaned up the code a little more. plan things, like pane/state/resource. gotta clean up the rendering a bit. also privatize the gl ids for shader programs and textures