BuildOutput: Don't replace complete buffer with each newline.

 * Also only focus element one time.