Restoring the Query tabs you were working on before a restart of the program would be even more useful ever since Windows 10, which auto-restarts after updates. I see the Query History but there's a lot of noise there like background queries ran by HeidiSQL to fetch info or your previous versions of a query, from all tabs. Having HeidiSQL restore previously open tabs on start (possibly after asking the user) would be a great addition.