Nanaimo Bars: Butter or spray a 9 x 9 inch (23 x 23 cm) pan with a non stick vegetable spray.
Bottom Layer: In a saucepan over low heat, melt the butter. Remove from heat and stir in the sugar and cocoa powder and then gradually whisk in the beaten egg. Return the saucepan to low heat and cook, stirring constantly, until the mixture thickens (1 - 2 minutes). Remove from heat and stir in the vanilla extract, graham cracker crumbs, coconut, and chopped nuts. Press the mixture evenly onto the bottom of the prepared pan. Cover with plastic wrap and refrigerate until firm (about an hour).
Middle Layer: In your electric mixer, or with a hand mixer, beat the butter until smooth and creamy. Add the remaining ingredients and beat until the mixture is smooth. If the mixture is too thick to spread, add a little more milk. Spread the filling over the bottom layer, cover, and refrigerate until firm (about 30 minutes).
Top Layer: Chop the chocolate into small pieces. Then, in a heatproof bowl, over a saucepan of simmering water, melt the chocolate and butter. Spread the melted chocolate evenly over the filling and refrigerate for about 10 minutes or just until the chocolate has set. Using a sharp knife, cut into squares.
Yield: Makes about 25 squares. Preparation time 45 minutes.