Bug fixes in send strings and other.

Signed-off-by: bregell <johan_bregell@hotmail.com>