Update undo implementation
Merge branch 'howling-mad-undo' into howling-mad

Conflicts:
	src/dom.js