Merge pull request #276 from RobertBColton/master

Implemented DirectX 9
Fixed DirectX 9
I accidentally forgot to include a few things in that last commit.