Linux-style return codes

Returning the appropriate exit status from your CLI tools makes
scripting, especially in *nix, much easier.  Non-zero means error. Check
out your local `sysexits.h` for more.

Also, using the python3-style print function, and printing errors to stderr.