now... const correctness for strings

This seems to make things easier when converting to and from C++ strings.