introducing some stats-gathering stuff
increasing events buffer length to enhance stats collecting