added mode switch, added sending raw data over osc