reintroduce thread analysis but disable it for backwards compatibility