1) Do you actually have a switch attached to the machine? It doesn't sound like it, when you mentioned touching the wires together?
2) Home Negative should NOT be checked for the Z axis. The home switch should be at the top of the Z axis, in the + direction.
3) Is there any error message when you click the Ref All button?