Added debug code to fix AI Bug, change DDMS Log level to "Debug" and filter by class name to see relevant debug output