Bugfix zmq returns string

This bug was introduced in #30 and fixed in 6c2b2bc.

The other commits are minor cs/doc fixes.