peer discovery fixes
active peer bug fix
Merge remote-tracking branch 'origin/master'