modified:   gui/maingui.py