css and template tweaks