all client bugs and crash fixes!