Conventional thermionic microwave and radio frequency (RF) guns can offer high average beam current, which is important for synchrotron light and terahertz (THz) radiation source facilities, as well as for industrial applications. For example, the Advanced Photon Source at Argonne National Laboratory is a national synchrotron-radiation light source research facility that utilizes thermionic RF guns. However, these existing thermionic guns are bulky, difficult to handle and install, easily detuned, very sensitive to thermal expansion, and due for a major upgrade and replacement. In this paper, we present the design of a new, more stable, and reliable gun with optimized electromagnetic performance, improved thermal engineering, and a more robust cathode mounting technique, which is a critical step to improve the performance of existing and future light sources, industrial accelerators, and electron beam-driven THz sources. We will also present a fabricated gun prototype and show results of high-power and beam tests.