adds target value and wait/done state to arduino
fixes syntax and variable name errors
threads osc calls