I updated the todo list up top a bit. I'm currently trying to look for the function where the general gets attached so the general's experience can be carried over after dying.
Next I'll probably add that coffee corporation, now that I have the graphics for it.
I'm still deciding on how spies and fronts and embassies should generate espionage. They should be granted modifiers, but as they're being built in foreign cities, the owner cannot build +espionage buildings. I'm leaning towards making them comparative-size based. That is, if player A is twice as big as player B, player B's fronts generate +100% espionage.
Also, I'm thinking of adding new building: Skunkworks. All units built in this city get a free promotion that makes the cost of upgrading them 50% cheaper. Either a normal military building or more likely a national wonder.
edit: I decided to take a different approach to saving great generals. When a Great General led unit dies, it gets cloned into the owner's capital at 10% life with a special check made so if the unit dies again in the same turn, it dies for good. For the moment, this reset only occurs if the general is in the player's capital at the start of a turn. Unless I find another method (short of querying each plot on the whole map and subsequently each unit in that plot) of resetting this, if a unit gets out of the capital by whatever means before this check occurs (like, say, if he loads up the unit onto a transport after respawning), the unit becomes mortal.
I'm also thinking about changing how great people production works. One idea is to increase the number of GPP required upon a great person being born and do this for all players. However, the GPP required goes down by 1% (or smaller), each turn. In this way one person's GPP factory can literally hog great people from everyone to a small extent. At the same time, the number of GPP required would be a self-balancing force rather than an ever escalating number.
Editagain: I found a way to clear this buffer every turn, so there should be no worries.