Bugfix for mainwindow.py.
Bumped to 0.4.1.