I could have been keeping the 317 from doing it's job and therefore affecting the 5v supply to the PIC....the transformer was only rated for 300ma.

Probably the case.