MainWindow captures debug output