project working, however with two major bugs: a deadlock I don't know where yet, and the hearvest thread is not waking up after outputList recieves a new element