The typing=true in unlockChat on the client thread was racing with the awt event thread for keyTyped/Released making the slash not get typed