add polling thread to discover, add local lib import code block
Merge branch 'master' of github.com:mmaisel/dirsync