Cosby made a decent comeback after such failures like The Cosby Mysteries (hey, it worked for Angela Lansbury, Dick Van Dyke and Andy Griffith!) and You Bet Your Life (an adaptation to the classic Groucho Marx game show. Cosby had some funny moments, but overall Cosby is weak with keeping up improvisation for a sustained amount of time)
Madelyn Khan was great on the show, but you could see during her final weeks on the show that she looked ill.
Someone else was supposed to play Cosby's wife in the series, but something didn't work out, so Phylicia Rashad was called on to replace her.
Cosby thankfully didn't go the route of adding younger children to the cast to keep the show going. That was the start of the downfall of the original Cosby Show.