Added undo, autocomplete