added optional chat caching
added chatcache
updated version number to 1.0.4