Add fwhm to main capture thread, and basic tested.