fixed locking;
fixed storing of generated xforms model;