added BackgoundMode settings to examples