add D3D10Debug and create d3d10 device with debug when in debug mode; other adjustments
d3d10 shader adjustments