You could temporarily disable all material effects and check if this fixes the freezing.

When the program freezes, does it still react on keys? Or is it completely frozen?