Added wires for the gates in the tool palette.