Preliminary support for exceptions.

abort() when in debug mode to make gdb'ing a bit more convenient.