Cleaned up debugging code.
Export Recorder as global.