MainWindow: Restructure add_view()