Some cleanup
Crude implementation of data-exporting in OSC example (not using FileExportEnvironment)