The Concerted Impact of Galaxies and QSOs on the Ionization and Thermal State of the Intergalactic Medium