better light and group state handling, MongoDB connection listeners