Ok, here is the secret for getting them out, first get the correct torx socket for a 3/8 ratchet, get the good ones not the cheapie one piece that most auto parts stores sell, you want the one that fits inside the socket.
A 3/8 to 1/2 inch adapter, 6" 1/2 extension, heavy 1/2" ratchet, dead blow hammer or brass mallet, something that won't bounce.
Set the torx socket into the 1/2 in adapter, set that into the 6" or 4" extension. Now set it into the torx you want to remove, give it one or two solid hits with the hammer, you want to seat the torx in the bottom of the socket and force the paint out and around the torx bit. Try not to move it too much after you seat it, put that 1/2 inch ratchet on and while pushing down start to loosen it. A guy in a jeep junkyard here in Pa showed me that trick and it worked for him and for me every time. I just checked, they are T40's.
There is a trick to doing that, there is one piece you don't want to fall down, I don't remember exactly but someone else might pipe up. I do remember having to replace the windshield frame on ours twice but I don't remember exactly.