final fix to duplicate instances of content and result viewers for the main window