Fixed scripts in palette running after category is switched
Merge pull request #167 from nathan/stop-palette-scripts

Fixed scripts in palette running after category is switched