Terrain modifications + AIPayload nullref fix.