Fixed bug where newlines in response would cause GUI to stall.