added code for the progress window and removed it from the shareing library