Finished

This is the final version of the dx11 stuff, no new featuers to add,
just a quick tidy up from here.