Possible fix for writing resumedata + more debug info
Merge pull request #48 from egbertbouman/improvements

Possible fix for writing resumedata + more debug info