moved to textwin in ui