quick run down of how it's wired up....
you've got your 2 main contactors at the top right, the top one is normal power, the bottom one is night time power
they're controlled by the 2 on/off switches on the front panel
there negative feed comes through the big emergency stop switch on the front
the extra contacts on top of them are there so you can't power both contactors at the same time, for one to powered on, the other must be off
the power coming out of both of those (on there left) is joined together, and then there's 3 wires running to the lower (white) contacotrs - the bottom 3 control your heaters (these are controlled by the switches on the front panels, which get their power from the PIDs)
power also feeds to the switches for your pumps, which are controlled directly by the switches on the front panel
the top white contactor is for the timer, so you can hit the dewater button on E7 power, it'll dewater for X amount of time then shut off
(looking harder at it, it *looks* like the little black wire which came loose is in the right place
the green relay is the timer (the timer settings are ontop of it... iirc it's set for 3 hours, but its just a little screw to turn to change it)
under that is the main negative contactor, you mains incoming negatives should be connected directly into this - because thats where the heater negatives are connected to
(I'm sure there was space here for the 2 main negatives to feed right in... I was pretty cautious about that in case you ever turned all 3 heaters on at once
I powered it all up, and tested everything when I finished it, and then again before I brought it to the BBB and it all worked as it should
BUT.... you need to wire the 2 x positive feeds into the other side of the contactors - it is a bit tight... but I got little short wires in there ok, so the nice long main feed wires should be fine
the negatives defenatly need to be done better... the pumps and everything else are only low power, follow the 3 x heater wires (orange) and see where there negatives go, they need a good solid negative
(negatives are overlooked a lot of the time)