D3DManager::Shutdown now actually releases all resources.