switched to new version of selenium, and made code more robust for the
new version of Firefox.  Fixed a few bugs along the way too.