Update notes for submitted changes

* Fix some issues detected by cppcheck