Preheat oven to 375. In a small bowl, combine onions, margarine, parmesan cheese, half teaspoon chili powder, garlic powder, and black pepper. Mix well and set aside. Separate dough into four rectangles; firmly press perforations to seal. Cut each rectangle lengthwise into two strips, forming eight strips. Spoon two teaspoons onions mixture down center of each strip. Bring long side of dough together over filling; firmly pinch edges to seal. Twist each filled dough strip; form into a ring. Pinch ends of strips together to seal; set aside. In a small bowl, combine crumbs and remaining chili powder. Dip tops of rings in beaten eggs and then in crumb mixture. Place, crumb side up, on unprepared baking sheet. Bake for 15 minutes, or until golden brown.