Linked message window to main window