problem with deleting files from USB flash drive

I just purchased MyGica ATV 1900 Pro with Kodi. I am having a couple of problems with USB flash drives. When I delete a file from within Kodi, the flash drive then needs to be repaired every time when I insert it in my windows 10 PC. Somehow the deletion process in Kodi is doing something odd to the flash drive. Just wondering if there is a fix or trick to avoid this issue.

My other problem is safely ejecting a USB drive from within Kodi. The options available in the context menu for the USB flash drive do not include safely removing the drive–only Play, Add to Favorites, and Set Content. Is there a way to add “Safely Remove’ to this context menu?