Update notes for submitted changes

* Add missing NULL sentinel.
* cleanups and sanity check string length