Add undo to multiple selections

This allows you to undo selections (#213).  I also want to allow skipping words (#244), but I think it's going to rely on this PR.