Move heavy xhr lifting to background page, use message passing to get tasks in content scripts.