A rewrite of TS1Edit. For the original code written in VSBASIC, see TS1Edit2k.