Added support for indeterminate progress bars.