Adding ability to switch on/off logging in collector traversals, and fixing logic related to traversals when there is no root node (global graph).