Added beginnings of statistics tracking and rendering