Messages positions bug fixed. Closes #190
Distance map refactoring.
Editor GUI change.