The British actor racked up an impressive number of Broadway credits, both as a performer and as a writer.