Updated to clear the output textbox when running in plugin mode
Added missing code to Run Folder button. Thanks randomaccess3