Smattering of renderer-related cleanup (dx11 in progress).