Currently undo/redo works on one-by-one tile changes. It should operate on mouse down, mouse up changes. It also does not operate on properties and switching to a different part.