Exit on subcommand errors.
Expose thumbnail sizes on the command line and add basic I/O checks.