Made process of giving focus back the main panel after interacting with
viewer slightly less brittle.  Still seems like there should be a better way.