Fix up perlcritic issues.

Identify error with ERROR: prefix.
Return different errors for different failure modes.

More helpful usage output.