Fix resource timing bar colours.
Fix template load.