Tor button control parser broken
The tor button control parser (tor-control-port.js) doesn't properly parse multi line responses. The logic to recognize the last line of a multi line response is broken.
This is probably the cause of bug: https://trac.torproject.org/projects/tor/ticket/16990