Don't need global variable undoable any more, it's already in struct ebWindow.