more progress on ChatConsole, there are still some bugs