Code style.
Fire saveSnapshot at the end of setData.
Code style.
Do not save snapshot if editor is not ready.
Add noSnapshots parameter to setData.