Fixed bug in settings

An error message was being shown when snooping on an app. This appears
to be an issue with the settings class because the values had whitespace
before the start of the xml. This was an issue in the app.config as well
as the settings files.