Fixed bug in killed_prey and other bug fixes