Added visual dialogs for critical errors.