I got the code for the SimulatinMgr and thread working. I had to make some modifications to the multi-threading code to get it working correctly.