Added log method and fixed broken recursion in assertSuccess
Added orphans.txt
Added depends chains and orphan tracking where possible