Very basic dumb AI implementation, and a few new bugs to boot!