Set exit code on exit.

Closes #106.
Remove unused arguments to `createUsage`.

Closes #107.