Thread quit signal changed from using Queue to using Event