player.dead is now threading.Event instead of boolean