That was a wonderfully funny sitcom. That and WKRP in Cinncinatti.
But is it precisely because they had to conform to standards of decency that they were funny. Sitcoms stopped being funny because rather than writing something actually funny, the writers merely write lines for shock value. There's no attempt at actual humor anymore.
"Comedy" stopped being funny a long time ago. :-(