comment fix
rename 'version' attribute to 'client'
use short 8 character uuid for log/ttylog
remove unused imports