Fixed minor issue related to non activated main window after full source view window is closed.