Added some serious DX shit. Nothing crashes so far. Ugly code