Data sent while SD is disconnected now is correctly written when the card is reconnected. The fix causes ~30% of sectors to be dropped when writing large files.