Preheat the oven to 350 degrees F. Combine the flour and baking powder in a bowl. Cut in the cold butter until the mixture is crumbly. Beat one of the eggs with the cream; mix into the flour mixture. Spread the mixture into an 8 by 8-inch non-stick or greased baking pan. Top and spread with the pineapple. Mix the remaining egg, coconut, sugar, butter and extract together and spread over the pineapple, gently pressing it down. Bake 35 to 40 minutes. Cool on a rack. Chill well, and then cut into 16 squares.