AI-499 : replaced reference widgets "on the fly" + draft of undo/redo
Merge remote-tracking branch 'origin/version3' into version3