I tried to add a implementation of the undo command, however
I failed miserably.