Added 'repeat' parameter to emulate the 'setIndeterminate:' behaviour of the standard NSProgressIndicator