BAMPFA-107: further improvements to the stats page. now code complete