Tweaks to fix footer. Main page template just about ready for re-use