Bug fix: advanced editor was starting empty, not taking into account existing card modifications in the NoteEditor. One code clone eliminated. Formatting improved to the standard.