public void stop() {
		if (getRecorderDisabled()) {
			stopImmediately();
		} else {
			if (movie.getCurrentFrameIndex() > 0) {
				stopAtNextRecordingStep = true;
			} else {
				stopImmediately();
			}
		}
	}