Clicking map now causes server visit only if click listener has been registered. Closes #4