After looking at the code for a few minutes I see what the problem is . . . The star name lookup code checks for a constellation name (either the abbreviation or the genitive form), and if it finds one, it canonicalizes the name before searching. So, CN Leonis gets converted to CN Leo, which doesn't match anything in the star names database. Any star name that includes a constellation name (Bayer, Flamsteed, etc. designations) should use the standard three letter abbreviation for the constellation. If you do this, the canonicalization step assures that a user will be able to lookup the star using any form of the constellation name (e.g. CN Leo or CN Leonis). At first I thought this was a bug, but I actually think it's a very reasonable restriction on how star names should appear in the names file.
Right now, I'm working on letting star names appear in .stc files. I'm also trying to come up with ways to make it easy to add catalog cross-references. For example, it'd be nice to include a file mapping numbers from one catalog to some sort of standardized star number (currently, the HIP or Tycho number):
as an alternative to adding Gliese names for every star in a catalog. The HD catalog could be implemented this way instead of storing an HD number for every single star (extremely wasteful in the 2 million+ star Tycho catalog, where the vast majority of stars don't even have an HD number.)
--Chris