Switch to using the nearest-connector method from the center point

The next in the line of sequential updates. This switches from connecting services at the center of each service icon to connecting them from the nearest "connector", which is a point on one of the four cardinal directions on each service icon.
I'm not convinced that these "Utility function for readability" comments
add much value. Almost all functions are for readability, really :)