Fix a number of bugs in text-installer, related to networking, and saving
variables outside of the loop we just broke out of