Always use WriteConsoleOutput() and never WriteConsole(). Support the settitle() extenstion. Support putch(7) correctly.