Added PageSegMode, SetVariable, SetRectangle...

Also refactored the example program and added a new image.  This request should be less chaotic than the last.