Hello again,
Sorry i can't fix the bugs but it's the next best thing. If you go ahead be aware that the events that don't get handeled stay in the traps folder in the Insight Manager installation folder. That's not a big problem just take a look in that directory and cleanup if needed. Up to 500000 events should not give a problem but cleanup sooner than that. You could run a shedule to clean these files once a day or week. Not the solution you'd want but it beats the events in SIM and the database because that will kill performance in the end.