Add try/catch block to intercept problem on application load and display user friendly message, depending on application mode