Created LogManager.Configuration programatically rather than in NLog.config
Added check for availability of MSMQ before enabling offline tracking