Forgot read -r
Forgot to make two vars local
Improve status parsing for SVN a bit