added download progress bar
added update and version functions
fixed incorrect download method in updating PGet
put updated file into right place