Added minimize to tray option for guiclose.