There are no longer any PHP scripts in images/.
Shut up warning
Avoid warning, improve log.
Improve relationship of init.php and initweb.php.

New constants, etc. make tests easier to run from CLI.
Code/Mail is gone.
Whitespace.
Whitespace.
Do not spam server if server reports error status.
Add some batch scripts.

killinactivedoc.php gets rid of old documents.
s3upload.php uploads documents to S3.