This way if XYplorer crashes or hangs (this has been happening lately a lot thanks to third party apps, see Icaros) we don't loose any configuration we may have done, like setting up new toolbar buttons and so on.
2. Make XYplorer check for space availability before replacing the INI file at closing/when saving manually and show a message warning about it so we can cancel.
I use XYplorer portable together with an installed instance, that portable instance is located in a device that can get full without problems (because is not the C drive), if said device has exactly 0KB of empty space and we close XYplorer, all the settings are lost, they are not just not saved, they are all lost and next time, because there is no ini anymore and no space for backup, XYplorer will start from scratch (though as far as I saw tags and so on are saved in real time so there is no problem there, I think, I haven't tested making new tags or tagging new items while the empty space was 0 to see if we get an error).