Stop backtick entering the chat box, Release the control lock when the chat window is hidden (fixes #7).