pothos-gui: work on connection traversing logic