There should be option for the X button in desktop app to minimize to tray rather than close. Or alternatively there needs to be a warning popup when attempting to close whilst transcribing is turned on, so as not to lose recording data when Heidi inadvertently closed.