only call System.exit() when the window is closed if we aren't doing a passFailReporter.
only call System.exit() when the window is closed if we aren't doing a passFailReporter.

git-svn-id: a9cb476116504f49bf91a09a9abbac08fcf3bbcc@1173 fd1274fd-080f-5963-8033-43ee40fcd1de

vivosys/scalatest,svn2github/scalatest,svn2github/scalatest,yyuu/scalatest,yyuu/scalatest,svn2github/scalatest,vivosys/scalatest