Minor doc/comment updates. Use nassert instead of assert in release mode.