Combine margarine, peanut butter and sugars. Mix well, and add eggs. Mix on low speed until well blended. Sift together flour, salt and baking powder. Add to sugar mixture. Add vanilla and coconut. Spread in greased 9x13 pan. Bake at 350ยบ for 20-35 minutes. Cool, frost and cut into bars or squares.