Fix fatal error handling.

Fatal error handling used to reference configure values that no longer
existed.

Move the fatal error handling in the error handling classes as it makes
more sense there. Doing this also allows far more code re-use than
before.