Line endings and misc clean up.