Place the chocolate and butter in a large microwave-safe bowl and microwave for 45 seconds. Stir, and continue heating in 30-second bursts, stirring between each burst, until the mixture is melted and smooth. Whisk in the sugar. Add the eggs, one at a time, until combined. Add the almond and vanilla extracts. Using a rubber spatula, gradually stir in the flour, salt, and baking powder.