various fixes, pwt data for heatmap, start with d3