Optimize ps termlet. Runs in ~1.3sec instead of ~2sec on an AMD E-350.

It would be nice if this `if` block header followed the style of the one below. Also note http://stackoverflow.com/questions/669452/is-preferable-over-in-bash-scripts, though it shouldn't matter much here.