Bug fixes

Updated the toLowerCaseAscii routine to fix a bug.
Also changed the handling of comment characters to prevent duplicates in
certain situations.