Client spliting fixed.
Added errortostring.