Client: limit input text length
Server: some bug fixes; Python console