Assure that there is at least one frame.
Add check for event size on BUs.
Add test case for log-normal distribution.
Fixes for log-normal event generation.