getMessageofType() should validate before returning if waitForMessage=False
close control properly and performance tweak
[gui.py] return to the main menu if exit button used
[control] remove threads; make variables local and reduce processing
[gui] make variables local
[gui] add extra config
[gui] performance tweak