Added license notes.
Added error catching for editor mails for document creation, too.