Update exit so that we can capture the status for at_exit
Fix exit code logic since it's not working properly with chrome
5.17.2 Update version to work with chrome