fixed many bugs; websockets chat example grows