- fixed a problem with ':' in the cache file name on windows
- added validation and sanitizing for $_SERVER['HTTP_HOST']
- fixed $addcomment so that it only adds comments if the content is text/html
- removed errant double-call to session initialization