Updated so that only a single Qt parent window is ever created.  Also
implemented patch from photoshop engine to ensure QMessageBoxes created
through the static interface are also always parented ot the Qt parent.