Stops sending replay to non-hintable nodes, fixes problems tracking
hints and adds unit tests.