Publisher bugfixing.

Fixed a couple of things with the Publisher. Tried it out, seems to work
just fine. Some other minor fixes.