Added debug messages
Revert "Try to steal focus on KWin window manager"

This reverts commit a3db53dd763e8737c7c97e63607cbaae5d14b06c.

Focusing doesn't work in all cases -- it's better to turn off focus
stealing for the window.
Tests: Check stderr only for warnings and ERRORs
Safer socket usage

Don't use client socket after it's destroyed.

Test socket connection status for QLocalSocket::ConnectedState.