Two issues I need help with!

My 02 1500 got broke into last week and I'm replacing the door window myself. How do I get the window trim off so I can get the attached
brackets on the new glass down in to the door frame and 2.) My fan for the heating,vent and AC keeps cutting off randomly. it's been a rough week with no window and the heat working when it wants to. Any help would be aswome. thanks
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.