Multi thread porting

Function storeBadEvents removed because it asks for the get and book of a ME in step1.
I strongly doubt I have suggested to store ibooker locally...