changes to OutputThread to be aware of possible null dCoDataSource