progress bar + small improvements