code reinement

moved proegress bar specefic code to its own class
updated updater ui to use new progress bar class
fixed some warnings that are safe