Null-terminated string iterator
Changed winentry to LF-newlines
Fixed 'optional'