Cleanup of StatsDetailPanel