Various updates, cleanup

Earlier this year I made a few simple cleanups to the code but never bothered to make a pull request. They should merge fine with the google analytics stuff I think.
Should probably read:

This is the source code used to power **an** interactive, explorable, annotatable map of ~~the~~ Venice as it appeared in the year 1500.