Improve uncaughtException handler.

Timestamp the error, print the error message and add newlines.