Fred, an STF is a histogram stretch that exists only in memory and is displayed on the screen. It does not affect the file, just its screen image (hence the name Screen Transfer Function)
Why? Because it lets you see the details of an image while it remains linear (dark!) . You can then apply background correction, subtraction, color correction, noise removal and see the effects of those *while the image remains linear. You can save it, all the processes you'll have done will be saved *but* for the stretch.
Then if you like what the STF has done, you can transfer the STF parameters to HistogramTransformation (or whatever name it has today.) but doing this stretches the image twice: one on the screen and now one for the file. So you then need to reset the STF to zero (no effect).
Or you can reset the STF and then do an AutoHistogram to start with and then finish with HistogramTransformation, ... etc.
STF is very powerful for letting you see what is happening to an image while it remains in its linear condition.
Before PI came out, I was using other programs but all my corrections were done *after* I had stretched it (and so were the noise and artifacts.)
PI lets you do those while the image remains linear.
Cheers,