Fix unit wiring.  Also, change the variable "hit" to "wired" so that it is more obvious.
Fix unit wiring.  Also, change the variable "hit" to "wired" so that it
is more obvious.

Obtained from:	gibbs/ken

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase