Added examples/nvar, various fixes.