move tray logic to ElectrumGui object. fixes #468