Added target folder selection and initial threading support.