A major rewrite of the statistics panel. The name was changed to
HoopStatisticsPanel from HoopStatistics (namespace clash) Now the
plotter is not a separate window anymore but part of the stats panel.
Added some basic stats code from the php version as a big comment so
that we can port the code more easily