zeromq middleware working again

plus some other minor thingies