Fix some trouble with the status string

I don't know what is wrong with my use of out.print in printStatus() so
using << instead.