chat cleanup - tweaks to be consistent with old version
add copyright to clj