Sketch 44.1 crashes when 'Clear palette' is used and then palette toggling happens
Hi there,

First off, sweet plugin - thank you :)

Secondly, I crashed Sketch today by doing the following on macos Sierra (up-to-date):

 - Sketch is open (with 2 files open)
 - Checkout today's repo into ~/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Sketch Palettes
 - Sketch successfully loads the newly available Plugin
 - I exported a Global-only palette from file 1
 - I imported that palette into file 2, success
 - I realise I should've selected 'Document' and I use the 'Clear pelette' menu option
 - I remove the Global palette, the colour palette panel does not reflect this change
 - I try to toggle visibility on the colour palette panel to a closed state, and I try to re-expand it, in an attempt to see if the app's state just needs a kick
 - BAM!

Actually I am not certain whether it was the expand or collapse action that crashed, but it was one of them.