Added functions wmove and wresize