Local docs that haven't been synced are now deleted right away.
Handle some edgecases for the Surface. Needs more investigation.