Element widgets secure and simpler

HTML is not editable but the text is (if there is some). If non-text
element no text area displayed.
Added error reporting when loading old state