Trimming code and bug fix when killing AI it said not all were dead.