Bugfix: forgot to set progress bar maximum.