Fix bug when type code has no string

Ensure that variables can be printed even if the type code does not yet
have an associated string.
Large README update

Make several changes to the README:

* Several sections are now in the wiki on GitHub.
* The example was expanded and updated.