fixed loading of text with newlines/double quotes, made updating of textarea only on update event