try not to undo things for passive tools, definitely don't DO things
when making a gif, copy the current canvas because it can be changed while generating

TODO: fully featured gif editor