Slightly cleaned up code.
Trying to trap __DIE__ entirely.
Display the error message (not sure if this is a good idea).
Added a test for the error message.
Tried to fix the twice-at-once error.