Added trace logging of advertised refs traffic
Some more logging
Initial looping support