Tidy-up of network configuration and preferences.