main, builtins: Quit the main loop when an exception is catched

Catch the exception, tell the main loop we want to quit and raise
the exception again so that output will be caputed in the log file.
task: Improve new version output

Improve output, no functional changes.
Fix typos

Forgive me, it's too late to do it right.