Clean Undo, start Redo

Undo code has been cleaned up a bit. Still need to implement undo
rotate and pinch. Started to redo bring an object back.