Changed repair calculation to provide much less money as you level. Lowered material stock capacities across the board. Fixed bug where player could purchase upgrades with too little gold.