you need to run power from a switched source to the positive side of the gauge, and the neg side goes to the sender. The sender is always the ground side of the circuit.
on the lights, tie into a wire that becomes hot when you flip the headlights on, otherwise they will be on anytime the key is on.