fix autolayout errors and make heatmap api calls use 'auto' timeframe, add heatmap caching