Wip 9284

I'm a little concerned about the time bounds of inspecting every late cap and every late client inside of our (giant-MDS-lock-holding) tick function() as this is doing.
It may be premature optimization, but these are also the kinds of loops we've seen stomp all over cluster health in the monitors. Could we do something to make the lock-holding portion cheaper by doing some precalculation or limiting how often we do the output or something?