Fix crashing event display

Crashing event display bug fixed; was caused by events with too many
hits; now up to 10000 hits can be handled;