Updated comments in mainwindow.py