wip: some bugs still outstanding
fix: parenting bug when rendering traces