........S. [ZBX-8719] code improvements
...G...PS. [ZBX-8391] fixed 'zbx_task_t' definition