Changed spelling, setup event loop