changes to opentest branch only. sorry for lack of updates the past couple of days.
made starting population more stable so it shouldn't have so many situations where it has a large change in the first days before flattening out. this was caused by production sites that train manpower interacting with the way it recoups lost manpower dynamically with amount lost, the previous attempt to fix this was just starting with a proportion of population per sector starting in the lost cache but now it calculates how much to start there from the sites actually in the sector.
fixed a bug where it would sometimes have a truely massive drop in population due to bug in how battle losses were calculated.
fixed code for taking damage where number of men didn't match amount of health.
made units health restore also bring back all "knocked out" men.