Fixes #207 - Handle CLI errors, and exit with code 1 if there are errors

Fixes #207