Fixed the recorder potentially overwriting files by mistake, fixed ramp, added javadocs