Add functionality to TagGet and TagSet so that they can use the root
window for storing "global" state.