pts_Graph: Render min/avg/max stats at top of line graphs (thanks to mufasa72) plus few other improvements