Changed LineWrap logic to use Environment.NewLine