Added communication between the master and slave threads. We can now get a status on the current queue and command.