Hide tray icon in destructor, as the deletion (which automatically happens as it is a child object of BitcoinGUI) will let it linger until quit, at least on Ubuntu.
This is annoying as the icon and menu will still be there for a few seconds (ignoring command), so that it seems the quit did not work properly.