Hi Lunarmongoose,
before you finish your work, please think about the "Madagascar" problem. I call it like that, because it always happens to the Madagacan empire on my custom map, but it also affects games on any randomly generated maps.
Once maintenance costs for oversea cities become too...