fixing template for 2013-14
rejigger it (first pass)
reformat code. nicer footer.