Just Curious, are you using an OS wallet running under macOS Sierra? Also if you "force close" an OS wallet at anytime this could cause continuous crashes, corrupt wallet, ex: Crashes at loading screen, blockchain will not sync). The only way around the issue is to completely delete all files and reinstall the wallet. If you already have coins in your wallet please KEEP files wallet.dat, diamond.conf, masternode.conf as you will have to place them in the new wallet folder. I've had a similar issue but it should be a quick fix.
I think you should know that the wallet itself does not damaging your files.
This happens when sudden power off or the computer goes into sleep mode (if you are currently running wallet) or when you install an automatic update Windows 10.
When you close the wallet, you receive a warning message asking not to turn off the computer until all the processes of the wallet is not complete.
Therefore, users should have a basic understanding of the settings of your system and rules of work with the DMD wallet.
We will try to get to the minimisation similar errors but it does not relieve the user from knowledge of the basics of your operating system.