Fix main exiting with error code on error-less run

Comandline programs expect 0 as errror-less return
value. This is in contrast to C where we treat 0
or NULL as an error token.