Simplifications in Config.
Minor tidy-ups.
Create "config" command, to print configuration information.

Also various tweaks to help output and handling of flags and
command line arguments.
Implement the "edit" command.

Also, provide "config" command with an "-e" option to edit the
configuration file in text editor.
Minor comment edit.
Merge remote-tracking branch 'origin/master'