Added line skip for windows end line as well. Fixed polygram issues.