Fix some electrical issues including solar/coal generators not outputting power, incorrect input/output side of battery boxes, etc.