Implemented ZPollItem structure. Minor fixes and improvements.