added favicon swap logic. doesn't worrk. cleanup.