basic windowing for gdi visualization