Corrected exit codes for errors
Merge pull request #12 from stephen/stephen-exit-codes

Corrected exit codes on errors