Add history events
Change favicon helpers to use history events