OS X 10.6 compatibility
Merge branch 'master' into flexModel
cleaned up tree/node/endNodeModel interfaces