replace use of resize with direct calls to tput

Also choose a minimum size for the whiptail width and height: the ui just
doesn't work right when too small and drawing it at a sensible size means the
user can resize their terminal.