bare bones of working directx window