Average Retries graph now basically working.

Rather slow, due to clumsy implementation, but working fine.