modified:   consoleui.cpp