Stuff
Working prototype with orphan checking