start of WindowManager