getting thermostat out

PB blaster, and heat. Or get a dremel and cut the bolt heads off. Never heard of this.