Fix some bugs. Better support for new async salt-run. preliminary support for syndic