Heat a large skillet over medium heat. If using bacon, add to skillet and cook until crisp and fat has rendered. Scoop out the bacon to a paper towel-lined plate. Remove all but a tablespoon of fat.
If not using bacon, heat olive oil in a large skillet over medium heat.
Add shallot and garlic and sauté, stirring often until starting to soften about 3 minutes. Add mushrooms and continue to cook until most of the moisture has cooked out about 8-10 minutes.
Add wine, thyme, salt and pepper and cook until the wine has cooked out about 3 minutes.
Stir in cream cheese, 1/4 cup of Gruyere and bacon (if using).
Preheat oven to 425℉ and lightly spray a 4 3/4"- 5 3/4" x 14" tart pan with removable bottom. Fit puff pastry into the tart pan and trim the top so it is level with the pan. You will need to cut the puff pastry sheet in two pieces to make it fit.
Spread filling evenly into pastry shell and sprinkle with remaining 1/4 cup of grated gruyere. Bake for about 25 minutes until golden and filling is bubbly.
Allow tart to rest for a couple of minutes prior to removing the outer pan. Cut into wedges, garnish with fresh thyme and serve immediately.
The tart can be assembled up to a day in advance and kept covered and chilled until ready to bake.
Preheat oven to 400℉. In a small bowl combine brown sugar and spices. Smear 1 tbsp of butter onto the bottom of each 5" round x 1" high ramekin. Sprinkle an approximate 2 tbsp brown sugar spice mix over butter. Slice bananas into approximate 1/8" slices and arrange in a concentric circle over the brown sugar, overlapping each slice just slightly. Drizzle 1 tsp rum evenly over bananas.
Cut puff pastry rounds to fit the ramekin and prick with a fork. Lay pastry over bananas, tucking in the edges. Arrange ramekins on a large cookie sheet to catch any drips. Bake in preheated oven for 30 minutes until puff pastry is puffed and golden. Remove from oven and allow to rest for 1-2 minutes. Invert each ramekin onto serving plate and serve with vanilla or caramel ice cream.