Its also a good idea to use .1uF caps at the pic instead of the 1uF, .1uF seems to be the industry standard for decoupling. I use them on every ic on my boards and i also use them between any external i/o and gnd. I find this filters out all ac noise I receive on cables going to sensors etc. I also use ferites on the input power and power lines between boards. They are probable not necessary but I don't like to take any chances when building Idustrial Controllers because you can get a lot of noise from the motors etc.