changed size of internal windows and added row selection