make sure CinderView's mApp is set for AppCocoaView variant, or fail gracefully
minor code formatting
Merge pull request #281 from reakinator/appcocoaview_null_fix

Appcocoaview null fix