Preheat The Oven To 450 Degrees F (230 Degrees C). Heat 2 Tablespoons Of Olive Oil In A Large Skillet Over Medium Heat. Add The Onion, Garlic And Carrot; Cook And Stir Until Onion Is Tender And Transparent. Stir In The Sugar, Red Pepper And Mushrooms And Continue To Cook Until Onion Is Browned. Sprinkle The Flour Over The Vegetables And Stir To Blend. Cook For 1 Minute Then Mix In The Water And Tomato Paste. Season With Basil And Thyme. Mix In The Beans And Season With Salt And Pepper. Transfer To A Greased Casserole Dish. Pour The Remaining Oil Into A Shallow Dish. Dip One Side Of Each Slice Of Bread In The Oil, Then Arrange On Top Of The Casserole With The Oiled Side Up. Sprinkle Parmesan Cheese Over The Top. Bake For 10 To 15 Minutes In The Preheated Oven, Until The Bread And Cheese Are Toasted.