Minor bugfixes and tweak. Network communication to the masterserver
seems to work ok