AI: replace the AI data structure with one lacking datasets marked for removal, do this with push/pop array operations instead of pointing the AI data structure to a new one.