my beardie does the scratch thing too, He is in a basin he can get out of at his own, so I figured the 'scratching' was just a way of splashing and washing himself.
When he is done with his
bath he jumps out himself, so I've never really given it much concern.
Not sure about the poop though, you could always take her to the vet and get a fecal to make sure everything is ok