Better scope for the OSC handler functions...