Issue 3: Undo changes problem in code

This is now fixed in TMS Scripter 7.23 released today.