report error code when fatal error
fixes #181
faster exit when error
print fatal error details