make _WINDOW_TYPES update 2/3 compatible
remove unnecessary imports from io/__init__