Added NLog, Interlocked increase of variables

Trying to solve issue with notifier module

To enable Immediate Window debug messages it is needed to open the
project and under Debug CHECK the
Enable Unmanaged Debugging option.