Cache fixes

Fixes bugs, including fixes removed from NetworkAtomics (whoops). See individual commit messages.
After some more study I agree that I was confused, but not about what you describe above. :)  I was thinking that there were other values that had an ordering dependence with the running task count. There aren't. The only values with which the running task count interacts are effectively unvarying (for example, the "core" count on the locale).