having issues sending windows and getting UI to work