activate undo in BASIC editor
PY3 bugfix