In a saucepan, melt butter & saute mushrooms with onions until golden. Add the garlic & saute for one more minute. Season with thyme, salt & pepper. Remove from heat, drain any excess liquids from sauteed mushrooms; chop the cooked mushrooms into small pieces. Add bread & cheese to mixture. Set aside.