Add --version argument
Prevent integer exit codes from being printed
Check instance type of exception