Initial commit.  This includes a bunch of changes compared to the Sourceforge project version.  They may be sane or not.