Add final newline.
Write conf on stop in case of crash.