cleanup some notices, dos newlines, and translations