collect a maximum of 50 events before sending to spunk
improved error handling
fixing bug
queue max events threshold