changed stderr to debug output, since stderr is closed in winboard