add WindowInfo class. add WindowControl class.