Fixd newline after paragraph and changed last condition for deadlock.