Update to work with settings containing spaces

Fixes issue wherein network settings with spaces are not properly escaped. This should be accounted for as the network settings manager allows names to contain spaces. It also prevents the menu from choking/dying (at least in *some* cases) when given malicious network names as input, such as `MyNetwork ; rm -rf * ; `.