Pub bug

This fixes a bug when parsing a pub dictionary with a key and no value:
{f}
It also adds warnings when external pub blocking functions are called in a non blocking context.