MainFrm: Use CAMMsgEvent to prevent deadlocks.

D3DFullscreen now works with the GraphThread active.