Fixes a stupid bug and more work on debugging C++...

...transliteration issues.