Added some error reporting to DirectX initialization stage
Removed some non-Windows code as this is a Windows only application since DirectX is Windows only.