Went on a call today for a blazeking pegasus 9300. Pilot won't stay lit. I removed the logs to gain access to pilot assy. The assy. only has a pilot hood, ignitor and a thermopile. What on this system holds the pilot valve open? Is the ignitor also a flame sensor? Does a thermopile ever double as pilot and main valve control?