Revert "(bug 47610) Keep default settings out of globals."

This reverts commit 60aad29318d3b7df846fc7c1841f24e7c92f0034

Reverting in order to implement an alternative solution.
Please merge the revert only together with the new solution,
which I will submit as a follow-up to this revert.

Change-Id: I7054bfaf0ee8bb15f9caa7ed80f83a9182bb8fbb
Merge "Revert "(bug 47610) Keep default settings out of globals.""