Ports fix

The default config defined the "ports" key as false, but subsequent
checks look to see if "ports" was defined at all. Removed default
"ports" key value from _edit, and then change the subsequent editing to
correctly check to see if the value is set at all.