Cleaned up some AI code, fixed some region checks & implemented a workaround for mobs getting stuck in a pathing loop (which is only an issue with the broken speeds, so that really needs to get fixed).