discover now spawns clientsync and broadcast in thread

+ still a minor  bug with halting/joining the threads
+ more testing is needed