Makes Save action thread safe.
Merge pull request #780 from RotaruDan/possibleSaveFix

Makes Save action thread safe.