correcting typos, problems, and various bugs

This set of changes appears to clear up all errors as long as the expected network devices are available when it runs.