* Stop media on Tray Icon > Hide * Linux tray support: check for libappindicator1 Fixes #383
This also cleans up the code by handling quit in the same way for all platforms, removing the special case in tray.js for darwin. We already have a 'before-quit' handler in main/index.js, so this is now handled there :)
Fix state saving on app exit
Fixes #150