Fixed a few more code snippets, and updated the NEXT docs

Signed-off-by: Lanny McNie <lanny@gskinner.com>