make ProcessEventThread use a blocking queue
this allows the thread to sleep when there is no event to process. Otherwise, the infinite loop just wasted CPU resources...
Authored by: thibautd 2014-04-25
Parent: [r28787]
Child: [r28789]