helloworld SR: redirect output to log.

Also improve overall quality.