[WIP] Undo

Just for tracking purposes.

Todo:

- [ ] Transform stacks when remote operations are applied
- [ ] "Real world" testing