Generic R graph bugfixes, especially for displaying avg number in legends
Generic bugfixing after critical look at generated graphs: duplicate items, avg calculations.
DE graphs wrt questions 22-11-2013