Added support for undo/redo of wrapping (plot tool).

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