Added a check for a collection before setting its listeners.
I think I've realized I need a suite of tests to make sure everything
can be set up without itemView or collection. My current tests assume
that things have been configured with those options.