exits after writing to error.log. Better msgs.
new version 1.4