- moved constants to _constants.js - Fixed: query stream not working with values - Fixed: sync not closing - Fixed: various minor bugs