Small code fixes

Fix to not use this as locker.
Changed ValidateConfiguration method name to TryLoadConfiguration.
Fixed code for event log entry to avoid null string exception.