Got plotting undo/redo to work in a first revision.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>