Troubleshooting pick pieces (chaining)

I cannot form a closed loop.

The loop that is selected is wrong.

I cannot pick the pieces.

Chaining does not work in 3D.

Chaining is working in the wrong plane.