[gui.py] switch to event based network communications