First attempt at undo/redo for planar figures.
undo/redo for planar figures working