Periodic recheck now in extra thread
Corrects some debug messages and comments
Fixes recheck and reconecting.

Now all threaded, so sockets get handled correctly during search for servers