Not an answer but I have much the same problem. I know it`s not the thermostat, I`ve recently replaced the pcb, but still get intermittent fault that the main flame does not light (pilot is no problem), but then comes on after half an hour or so. Could it be the gas valve?
pfm, March 2009