finished init D3DApp framework