Update graph code to use two styles
Delay UI generation until the nav was clicked

Initial loads are much faster as a result
Delay chart generation until tab click. fix #2