Yes I think Midge is correct. It is either “Mucal” gel from around the gallbladder where the stones tend to form or cholesterol Gallstones that are semi digested.
Things are starting to work for now.
Did it smell bad! That is a sure sign of stale bile and the like.