Remove dead code from window/winapi/