Added callback to save publish and play events hisory. Added code to create dashboard charts.