Make it easier to add stats panels

Signed-off-by: John Rayes <live627@gmail.com>
Merge pull request #1870 from live627/stats

Make it easier to add stats panels