MainWindow: Don't use get_active_view() to determine active session