Improve error and time reporting.

The code now uses proper singular/plural forms and
formats the time in a sensible H:m:s.S format.
Fix regex used in CLI test.