Added support for searches on all peers. The support is relative to seed peers. Fixed minor errors.
Merge origin/master