some progress on window move/resize waiting functions