Implement CSV download for drilldown stats. Other drilldown cleanup.