Began full E2E testing of the commandline program.

Includes some minor cleanup to the commandline error reporting to be
conformant to the typical UNIX style of error,
[filename], line [lineno]: [message]