multiple bug fixes, added shiny heatmap