Revert "config: refactor config getter functions"

This reverts commit a34090699a62e5c7efe43ba0b1a31079215f5246.

Will try to find a better way to do this later.
widgets: update debug code to work with old config funcs

Ref #42