I have had rib pain and it happens in spurts as the inflammation gets going. The pains were right at the edges of my ribs.
As to my stomach, I had to have some parts glued and another part banded to stop the bleeding but things seem pretty good now.