LogWindow, Qonsole: Writing an Xterm in Qt