Rudimentary and extremely ugly 'undo'
hm