Grid bookmarklet

Adds a bookmarklet to toggle the visual grid on and off on-demand. Lots of misc. cleanup.