various fixes/mods in regard to tfd,averaging,simultaneous operations