More global AIS variables moved into globals infrastructure.