Add an event loop inside the CGame