Automatic DONE check of parent block

t’d be nice if a parent TODO block would automatically be checked as DONE if all the children blocks are DONE and it would also automatically display the sum of all the durations of the children blocks.