Fixed adding of new elements. Added support for tmp disabling moving.