Support for collection types

Fixes #2 - Support for collection types in the rendering window so that
we can show different icons for different collection types (such as
different folder icons)..