MainWindow: Streamline code a bit

Make sure we can really change the monitor instance attached to a
MainWindow without issues