Die with the correct exit status.

Also fix child functions returning false being confused with dying.
Merge pull request #9 from schwern/bug/exit_status_on_die

Die with the correct exit status.