editor: port network-code to Qt
editor: move server-code to signals and slots

This should make the editor spend less CPU time.