Removing some newlines after the php closing tag and small corrections