fixed a mistake of not setting the active tab
fixed the key value for worker threads from tab to tab.id
fixed worker values stacking up over time by deleating them when the tab closes
removed extra console log commands