Logging Improvements

Saves raw data as well.