Set exit status on signal.

Ditto. refs #107
Very small refactoring

Rename stuff like Finish() which was confusing with action 'Finish'
Merge pull request #109 from peco/set-exit-status-on-signal

Set exit status on signal.