Re #2389. Added a checkbox to sequential fit dialog to pass ws index.

Also some clean-up of Convolution code.