abstract progressbar classes and fixes