Mantle v0.039

D3D9 Hooked up. Handling for lost device. Many interesting things now.