Added more sophisticated AI for naughty behavior.