fixed a couple more bugs

git-svn-id: file:///var/svn/jimshoe/programming/bash/project_bashter@159 0d472227-36fb-480a-852c-69a539c2cf24