Move camera and model around until it's properly visible.
Move all the GUI stuff into an inlined window.

Oddly enough, this stops the flicker.  shrugs