Many syntax changes to suppress compilation warnings.
Added feature in which a value lpri=-1 suppresses almost all ascii output. This is designed to allow for large grid production without creation of unwieldy ascii files.