Add config setting changed handlers

Reworked quite some config code to make this happen