Bugfixes and small tweaks

A number of bugfixes applied to the site this evening, mostly bugfixes.