progressOutput now only compiled if set to true due to preprocessor directives --> reduces if statements during execution (AH)