Fix minor typos.
More sophisticated _find-ending-quotes function.
Characters part of a code unit must be hexadecimal.
Fixed some typos