A minor readability change.
Implement "--single-run".
Add exit(exit_code).
Initial logging support.