Waiting for newlines, to prevent undefined index warnings.