change log new line character position, and modify progress bar constructor