window init & dx::clear working, leaking on exit