Added display reset and anti-aliasing to Direct3D 9