make the logger know what to undo

The undo works, but the actual block undo doesn't work. The redo of
blocks would work, if it weren't for the actual non working part of the
block undo.