Merge pull request #84 from ens-lgil/master

Make the module generic so it can display piecharts for other groups of ...
Fixed instances where imageconfig->altered was still being used as a scalar instead of an arrayref
Missing semi-colon throwing syntax error
Fix for imageconfig->altered being in wrong scope
Get the variable name right!