AI server: more AI cleanup, also all units are now assigned a specific unit type.