A flat panel x-ray imager exhibiting reduced ghosting effects and overvoltage protection by appropriate leakage current characteristics of the thin-film transistor array. A top electrode of a suitable material is directly on and in physical and electrical contact with an amorphous selenium-based charge generator layer, thereby reducing ghosting. The thin-film transistors have leakage current that rises relatively slowly with voltage across the transistor within a range that matches exposure through an object being imaged but rises at a sufficiently higher rate within a higher range to provide protection even when a corresponding region of the charge generator layer receives greater amounts of x-rays.