The egg looking stuff is called urates... Basically solid pee.

As for the poop, it could have been something he ate, or maybe even parasites. Have your vet do a fecal exam.