Cool tim - very cool. You clearly have the magic for understanding how to optimise these things. I am pretty crap at using patch (perhaps I should start to learn...) can you just send me the three files directly I will diff, apply by hand and commit?