Btw. take a look at GIMP, it provides an undo history with thumbnails. You don't need to undo step by step, you could ignore ten or more undo steps and chose to revert to undo step 11 or any other.