Cook squash and onions together until tender. Drain. Mash to a pulp. Add other ingredients except bread crumbs. Spread into a large casserole dish, top with bread crumbs and cheese. Bake at 350 degrees for 30 to 40 minutes.