Hide resend button when disconnected
Don't display resend button for failed commands
Merge pull request #1160 from JabbR/resend-failed-msg-polish

Resend failed msg polish