Fixed some errors. Still work to do.
Fixed message sanitization for safe recording of new notes in evernotes