changed api to get uints from frame, because 0 as error conflicts if one expects 0
updated documentation
Merge pull request #374 from sappo/master

Changed zframe uint API