Fixed tile undo not capturing old state.  Fixes #13.