|Melt butter and chocolate over low heat. Combine cornstarch, cocoa, and sugar and then stir into chocolate mixture.
Beat eggs with a mixer until frothy, about 2 minutes. Stir eggs into chocolate mixture and cook over medium heat for 5 minutes. Remove from heat and stir in Vanilla and Chocolate Extracts. Let cool 15 minutes.
Beat whipping cream in chilled bowl until stiff. Carefully stir chocolate mixture into whipped cream and spread in cooled pie shell. Cover and freeze at least 3 hours or until firm. Garnish with chocolate shavings before serving.
Makes 12 servings.