Ok, the motor is a black cylinder, about the size of a pop (soda) can. That should be all you need to remove. After that is out, you should be able to muscle the gears to get the window down.
The motor should be on the right side as you face the rear of the truck from the inside.
If it all crusty inside there, that is surely why it is not working. Just take your time with the motor, get it out, or loose at least, then once the gate is open, wash it out. Some carb cleaner spray should clean it up, then you will need to hose it out, then clean your electrical connections. If you have the patience, clean it with a stiff brush and a solvent to break the mechanisms free. If not, just blast it out with a pressure washer, but that can make a mondo mess!
Yeah, the tailights can be a pain! I had to change mine under the same circumstances as you! I had JUST bought the thing, had it one day and saw the tailight was out. Then, after I got that fixed, my brake lights went out! I had to route a new power line to the fuse for the brake light circuit...there is no power to the fuse at all. So I patched into my cigar lighter for the fresh power source. Works fine now! (as long as the key is on!)