progress on compiler upgrade. nearly done, then needs testing.