Just used this in anger.
I closed calibre because I wanted to restart Windows. When that was done I started calibre, instead of my minimalist UI settings, I got the default layout, toolbars etc

.
Reason: gui.json had shrunk from 159,015 bytes to 4,798 bytes. I may have restarted windows while calibre was closing.
Restored yesterday's backup… problem solved.
BR