make CriticalError a feature

You could remove all these statics and instead inject `Configure` into `CriticalErrorHandler`, so move all this this logic into `CriticalErrorHandler`.