m_MainLoop is not init to NULL in constructor.