I would like to thank the following people for comments and code:

  James Westby (comments, ideas, debian packaging)
