"Reset all devices" action now actually works.
To do this, I ended up building the device-to-menu item dictionary directly
into the tree object, where it is maintained automagically.