Revamp mainthread-io analysis.