Added ngn::MainLoop().