i think we can declare victory now. the "sid not in pat" tuning error hasn't shown up since i installed 4.0.
thanks to all who contributed to the fix.