Yeh i basically don't use undo, it's very unpredictable what you'll get.
Alex, to answer you question on the randomness at the moment Undo will only affect rotate and resize so if will undo the last action of this type that you made. Keep voting on this one though and comment with how you would like this to appear as an interface as the more detail we have the better
Good to know. If it could also handle undo/redo of movement it'd be very useful.