fixed logic in highcharts_table to be smarter, fixed csv headings for some data