More utility scripts. Some minor assorted patches.
New logging system that makes the error logs accessible from the web interface.