Brown chopped bacon in a skillet. Add onion, green pepper, and garlic and brown. Stir in flour; add tomatoes and cook until thickened, stirring constantly. Add macaroni, ham and shrimp. Pour into a greased 1.5 qt casserole dish. Combine breadcrumbs, cheese and margarine; sprinkle over casserole. Bake at 180ÂșC or about 30 minutes.