Fixes for locator(): better boundaries, don't include self.

Caution: no more locator(int mypos_x, int mypos_y, int distance) overload.