Seperated most of the heavy lifting of major graphics components out into their own types and prepared them for DX9 / DX10 facades.