Added code to prevent saving to SD card before error_recording_start has been called
Fixed wraparound bug
Added code to wraparound SD address when saving a new error block