Refactor FilterPanel out of StatsMain