i usually first apply the autoSTF to the HT and then to the image, then look at the median and use that in MS. undo the HT and then apply MS; 20 or 30 iterations is usually okay. no idea if this is a proper strategy but it seems to work for me.
i suppose one could take the statistics of the realtime preview of the HT and avoid applying the HT to the image.
rob