Updated demos to use NEXT. Also updated docs and lib.

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