Added content script hooks and system to decrease count on loading relavent pages