center progress dialog relative to main window
correctly size of messages pane