added TXTWindow class