Main loop
Dx11