I had exactly the same problems with the Hornby Pendolino. It would change direction and bolt off suddenly into the blue unprompted. My solution was to remove the decoder and replace it with a Lenz Gold. I then later also removed the capacitor. For the record there was no discernible difference after I removed the capacitor from what it was before.