Reduced global variable amount; instead, the settings variable is now globally accessible => processing functions can now be configured dynamically.