I have not tried it yet. But I will soon now and will let you know if this is causing the problem.

By the way the interesting thing is that the PIC HANGS which seems to have less relation with the oscillator as in the statement I am using
Code:
serin gpio.2,N2400,250,stop,["p34"],b
It should put the relay pin down after 250 ms. And also I think that if oscillator is the problem it should just malfunction and not start behaving properly as soon as you enter in a defined area close to the Receiver.