Fixed function lacking return value.
Merge branch 'feature/ideas' into feature/multiple-ownership
Preliminary refactoring.
Put multiple owner support into PNode.  Now need to make the rest of the project compatible.
Incremental refactoring progress.
Incremental refactoring progress.
First successful build after refactoring (no idea if it works).
Fixed some bugs.  Regression tests now run with multiple owner system in place.
Merge branch 'feature/multiple-ownership' into develop