Fixed some minor bugs I guess.
Currently stucked in the fact that sendMessageAllNeighbors only sends to outgoing links.