Modify handling of application settings to better handle composing applications. Tests forthcoming.