Moved playerdeathhandler to global listener