DX9 build now basically works. No textures yet.