Return exit code

Fixes #439
these are not reported any where now..