better fix for #190 that doesn't disable undo entirely

fixes #227
artifacts
ui_utils.ace_set_pos
set cell initial position because ace setValue selects all
artifacts