Make ui thread non-blocking by monkey-patching sys
Use gevent servers and make peerlist work