Optimized site checking functionality.

Added trusted hosts and changeInfo status checking to avoid calls from
happening multiple times for each tab.