Some serious imporvements... and some setbacks

I made a lot of progress, and tsomehow while tracking down the last few issues I've regressed soemwhere...
Mutexes are fairly sane now
Reverted extra long timeout in unit test
Dir_monitoring works reasonably well. There are soem race conditions somewhere, nd I'm not sure if thy're from my code, my unit test, or my code competeing with the AFIO ops in the unit test.

I'd like to add more mutexes, but the one's I have cause enough issues.

My comparrison is also very weak. I suspect that I wont' be able to come up with 10^6 stats in time to keep up with the changes.