Strip newlines from input, xboard works again