Made type names more readable.

* Namespaces are excluded from typenames making output much terser.
* A no-argument constructor to ObjectPrinter has been added.