zxlib improvements