Add "threadGetMessagesAlter" event
Encapsulate locks mechanics in "ProcessLock" class
Fix race condition in old invitation closing
Use regular "Thread::save" to close old invitations
Return IDs set from "get_group_members" function
Return IDs set from "get_operator_group_ids" function
Fix broken links at "operator/group/<id>/members" page