_head -> _pending_head
remove next_addr from pending nodes
this should avoid creating loops when pending nodes are erroneously used as a last_hop
update todo, minor changes