Be more explicit
Add a test for the MultiThreaded worker and cleanup unused code, remove  locks and use CompareExchange.