[testing] added stress test for event system;
[events] make threads and buffersize adjustable;