Updated readme and fix \n problems

Changed to output Windows line endings.
Fixed configs generating badly

and some error messages