Lift mainContent from the ThreadSettingsModal class component to the ConnectedThreadSettingsModal functional component.
Doing this this to "stage" the lifting of JSX markup into separate steps to hopefully make it easier to review.
As part of the work to refactor ThreadSettingsModal... specifically to turn it into a functional component.
Depends on D3821