void libraryClearer_DoWork(object sender, DoWorkEventArgs e)
 {
     ProgressDialog pd = new ProgressDialog(this.Handle);
     TraktAPI.TraktAPI.ClearLibrary(TraktAPI.TraktClearingModes.all, pd, (bool)e.Argument);
 }
        void filtersCreator_DoWork(object sender, DoWorkEventArgs e)
        {
            ProgressDialog pd = new ProgressDialog(this.Handle);
            pd.ShowDialog();
            pd.Line1 = "Creating Filters";

            TraktHandlers.MovingPictures.CreateMovingPicturesFilters();
            //Update
            pd.Line1 = "Updating Filters";
            TraktHandlers.MovingPictures.UpdateMovingPicturesFilters();
            pd.CloseDialog();
        }