In regards to your second question (How To Keep Text From Being Displayed), I like to make system calls to stty. It's quick and dirty.
#turn off the terminal's echo
`stty -echo` ;
If you do this sort of thing, don't forget to turn it back on. Just to be extra safe, consider doing this, too:
# turn echo back on, an extra check before we exit
END { `stty echo` }
It's kind of a mess if the program exits and echo is still off.
Hope it helps. Peace monks,