Lots of little fixes, plus chapter 9 example.

You're not doing anything complicated here, so instead of beginTiming, wwhy not use BeginFrame and get the pose from BeginEyeRender?