Fix appName and add try/catch statement for getting settings
Add better exception handling in ServiceConnector.cs