consolidate broadcasting to neighbors code. minor clean up.