* nsf.c (NsfCCreateMethod): During a shutdown, in a filter setting, objv is not necessarily populated. Prior to this fix, the following crashes on exit for "ObjStr(objv[1])": nx::Class create Klass Klass public object method expand args { return [[self] new {*}$args] } Klass object filters add expand
Along the way, rendered the print-out more informative.
Code cleanup - remove calls to deprecated function Tcl_DStringTrunc - prefer boolean expressions to avoid signed conversions - add default statement to switch to ease life of static checkers