added in the full list of TEMPLATE_HEADINGS to get it out of the code
created project_gallery_filtered, which 1) gets max class for a page for displaying 2) removes a load of hard coded stuff and 3) can filter and sort the data in all sorts of ways