textmode support for .kkapture. The real action is happening on branch textmode.