Fix some crashes in CMBv5.
Using the new SMTK resource interface mixed with CMBv5's old SMTK resource management is ill-advised, but this at least gets things running without crashes on the latest SMTK master.
Using the new SMTK resource interface mixed with CMBv5's old SMTK resource management is ill-advised, but this at least gets things running without crashes on the latest SMTK master.