game_data: all levels checking for newFactories number instead of array length
building manager: correctly adding retailer id to factory in addRetailer method