Add dropping privileges to all the examples.
Add statgrab_init() call to the examples. If people are going to copy them I guess we should try and make them correct :-) Also tidied up whitespace in the examples.
Fix getopt() return value.
page stats example
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.