Drive-by: You may want to look at the scripts we lazy load with the idle timer. We do a bunch of this, but only after the page is idling. There certainly does need to be a better-defined hook into the main panel that performs well though.