Reverted to non-threaded version to start over and try again a different way.