Target Tab and Improvements in scanning

Only scan the tab which was targeted based on tab.id and improvements
in the scan process