Wrap marker coordinates in URLs
Fix "Edit area" links
Refactor search JS
Hide search marker/object when closing sidebar

Fixes #417