Update with almost completed A*, distance function and coordinate displays.