Fix a number of bugs

Hi,

This thermometer looks spiffy but I had to fix a bunch of things to get it to work on my site (ontarioaccesscoalition.com). Here are my changes.

pat