Fixes for uses with Objective-C++
Insures that the objectId and modelId are not null.
Merge branch 'multigraph' of https://github.com/jawngee/ModelKit into multigraph