Made the DX property page not to crash when called from a different thread.