save/load network settings, fix network code