MainWindow.py: commented unused code