Patch Set 2: No score

This isn't mergeable, and I burned way too much of my time reading through it.  Most of the code is very hard to grok, and every time I turn around I find what appears to be either another race condition, or some code which appears to fail but report success.  It just isn't worth it to me to continue trying to review it.