Add critical error flag support to consoleUI.py