FIX: Buildings were not saved with factories; this caused errors with the new system, which uses buildings to store factory data (Philip)
FIX: Divide by zero error in the passenger generation code.