tidying file permissions
server-chat.js: more config, tidying, strict checks