Front page changes

Fixes to a problem with category pages