DirectX init and setup.