Periodically deleting palette data for closed tabs
Restoring a tab's colors after reloading, once popup opened
Refactoring to pass fewer parameters