Add the missing functionality to the iterative DHT search code.
Documentation.
Correct some obviously wrong pieces of the code base.