Easier to have a copy of progressbar since it's heavily modified.