mutlithread

move event thread to main thread