small fix
correct return code check
implement word deletion via ^W
escape newlines in contact names/status messages