Fix a bug in LineIterator where \r\n wasn't quite handled correctly.
Scripting: Add a GT.NullPtr variable for checking user data pointers for null.