need to make it save position when you switch ribbon instead of manual save but good progress
builds and has the foundation for better undo stuff