the good news is that the multi-threaded code is working. the bad news is there seem to be some rather nasty memory issues that need to still be resolved