Thanks for that. I'm liking the results; the horrible blue tint is gone but the better detail is retained (for example, look at the tuft of Taun-taun hair in the centre of the first frame, compare the GOUT with the corrected 2004 DVD.)
The corrected version of the second frame has a slight hint of yellow at the base entrance which probably shouldn't be there, but this is only a minor quibble.
Agree with you on the levels adjustment; the GOUT video is generally washed-out and desaturated.
I wonder how an application of this method to a HD source would compare with the manual correction that Ady did for his AVCHD version?
And it's a shame there's no batch mode that could be applied to an image sequence.