little refactoring in core.osc
osc & visuals refactoring
sending errors to osc