My K5 has stains on it S/N 3871xxx...it appears as a series of dots nearly right in the centre of the sensor.
I expect Pentax to come up with a solution and make it right.
I've been in contact with my local Pentax distributor, and their suggestion is to hold on to the unit until a firm solution is announced. Swapping the unit at this moment doesn't guarantee I will get a good one.
In the meantime, I'm not really bothered with it. The dots are only visible beyond f/16 (on my unit anyway), and only against a plain, bright background.
I was looking for the stains at f/32 against the usual mixed-bag of background detail typical of a real-world shot - and I couldn't see it, even though I knew the stains were "supposed" to be there.
That means it doesn't show up in 99% of my photography. I'm still using the camera every day without any worries...
Enjoy your K-5