with ime turned off, the number of freezes greatly dropped(though not completly). Apparently the language services have a number of global mutexes that can easily freeze gdi.(found a few posts on that)

Not too sure on how that can be avoided though... if at all...