add hashStringToColor utility; hotfix some aggregation issues
rewrite aggregate function (including test); add animated show/hide utility functions