Fix an issue where curry goes into an infinite loop
Put back newline at EOF
Merge pull request #1 from linusnorton/master

Fix for curry