Use C++ string handling instead of C strings. Output line # when
errors occur.
book and ECO mapping updates