Preview panel clearing + selecting first tab

lets see if this works LOL