FocusThread: Reduce flickering by ignoring WM_NCACTIVATE messages.
MainFrm: Don't create a D3D object when adapter is in exclusive mode.