fix zts load; fix some special cases of bind; validate zts constructor; zts constructor simplification