Melt chocolate and 3 tablespoons of butter over very low heat. Stir frequently. Cool.
To make cheese layer, cream 3 ounces of cream cheese with 2 tablespoons of butter. Gradually add 1/4 cup sugar, creaming until fluffy. Blend in 1 egg, 1 tablespoon flour, and 1/2 teaspoon vanilla. Set aside.
To make chocolate layer, beat 2 eggs until lightly colored. Slowly add 3/4 cups sugar; beat until thickened. Add 1/2 teaspoon baking powder, 1/4 tsp salt, and 1/2 cup flour.
Blend in chocolate mixture, 1 teaspoon vanilla, and 1/4 teaspoon almond extract.
Spread half the chocolate batter in a greased 8 or 9 inch square pan. Top with cheese mixture. Spoon remaining chocolate patter over top. Zigzag knife through batter to marble. Bake for 35-40 minutes.