Fixed the edit form and added the ability to see distance