Adding comments to threading facilities, fixing kprintf, modifying threading test.
Improving multithreading test, getting ready for mutual exclusion testing.