Updated some files (fixing bugs and removing enum names), added OpenGL example.