switch to activeTab permission, move logic from popup to background, update message flow and add status area for progress