Merge pull request #345 from denis2342/ztex libztex: fixed some warnings and removed some whitespaces