Working around some minor issues regarding handling weak references, use of #import in non-objc contexts, reorganizing some of the nastier looking bits involving GL code in NLGLCameraViewController.