textio: made TextIO a File object, added a data ring buffer, and implemented reporting (eg, cursor position reports)
process: removed an old hack used for the TUI that is no longer necessary