Added remotechat command, and a few other small fixes.