legend fixes for hggroups
some cleanups
updated year to 2013