removed debug code

Removed/commented out some code that is being tested at the moment to supported multiple publisher instances.