meh still bugs, but input is smooth. don't know if threads were really
needed, but tis fun to experiment.