remove trailing whitespace
wrap long lines