Lep, minor AI changes

changes to the AI to lessen the chance of a break.