Create and run collector process for report data.

def create_and_run_collector(document, options):
        """Create and run collector process for report data."""
        collector = None
        if not options.report == 'off':
            collector = Collector()
            collector.store.configure(document)
            Event.configure(collector_queue=collector.queue)
            collector.start()
        return collector