added in a little syntax checker thing
cleaned up some of the syntax errors in setup-new-machine.sh.  it still
requires a newer version of bash than what comes on mac osx though