switched AI/view system over to using unit masks