removed serversocket accept blocking
re-added prefs