fix smarter undo logic
Merge branch 'edge' of https://github.com/excaliburjs/sweep.git