Move more to the background pages/scripts.