New code is much cleaner and more amenable to ENS name swapping, which will happen in a following diff.
Note that now instead of having a function that generates threadInfos and a SearchIndex, we have those things directly. This may lead to more background processing when Redux state updates, but it will improve performance at callsites where we can currently run the same code multiple times per render.
Depends on D6586