Fixes/Implements #204: Return non-zero error code on error

Other than `exit()`, I also added `exitErr()`. The former exits with an exit code of `0`, the later with a code of `1`. In addition, when trapping a `SystemExit` exception, the value is checked and then passed along, if applicable.