Started adding progress saving functionality - NOT FINISHED YET.