Changed the way government types are decided based on tech level. Also fixed bug where you can sell goods for more than you bought them at the same planet. You probably shouldn't use your old save files now.
Took Creston's solution for conditions affecting supply and demand.