Moved mutex access lock to DirectX class and test for DirectX 11 available