added preferences and options to enable registering flag overrides to
config

overrides is called post-load (on successful load)
added defer to run override after any exit of load (allows us to still
grab flags if config file failed to load)