Added charting and improved stats output