Works on scripts for loading logs, fixes a few bugs and makes .mat conversion work well.