[Code] Made all helper functions static.
[Code] qz_ prefixed functions moved to QzTools namespace.