Fixed problems in how GUIWires automatically choose a path