Lots of little fixes, plus chapter 9 example.

whoops, that should still be CORE, not COMPAT, will fix.  The forward_compat stuff is not useful per http://www.opengl.org/wiki/Core_And_Compatibility_in_Contexts