refactoring of maingui.py - removal of all old style signal/slot code