* Changed NTSL max statements to 900. It was possible that it reached the 1000...

... limit before checking if there were too many statements.

* Minor tweak to the length() proc.