Add directory to PATH to fix Xcode builds.
Free children list on dealloc.
Merge pull request #10 from gjb7/feature/entity-dealloc

Clean up entity dealloc code.