Tried adding in some code to make track changing a higher level function, but I kind of broke stuff. I think I need to make a container class for the main data of the game, pass that to the track change function, and then things should be fine.