Allow transferring admin rights, leaving a group and closing a group if it has one member. Also corrected some formatting.