Mostly just minor changes.
Standardized and documented all non-command error messages.
Simplified and improved processing of command-line options.
Improved testing of command-line options.
Added etc/test_errors.pl script to check for orphan error codes.
Updated out-of-date documentation.