What if the named executor of the will is deceased?

The court will appoint someone else. The family can nominate someone, and if there are no objections, the court will typically go along with them.