UndoManager: new implementation based on GQueues (not finished)