Added queue plugging code so that threads only quit when they receive the message
Commented whole project