i had similar problem where car would rev up when in neutral e.g. clutch in at traffic lights. Took it to ford and needed a new connector between ECU and engine. sorry cant remember what it was for but apparently they was a crap design and melted eventually. so they fitted a new redesigned...