general: Modernise to work for an ACSIS recipe.

The main thing is to check that the FRAME argument is defined.
Did some tidying along the way.
heterodyne: Another attempt to remove the _desp intermediate files.

The changes at Commit 4c985cf41399d had side effects on hybrid data if
the merging was performed after filtering.  The code had work for
pre-merging.