Buggy ctrl-z behaviour

sometimes it works sometimes not, sometimes the wrong modules appear … especially if there is a low framerate (heavy cpu).

thanks, we are aware of the undo problems…