It's always tough to troubleshoot weird gcode (at least I find it that way)...I don't know how many models I've abandoned because I couldn't print them.
As for your SD card, try formatting it in a camera or some other known good mechanism that will purge any gremlins and recopy the file onto it.
I've had a lot of problems with filament lately due to my slicing a model and reprinting it after changing out filament...I guess I like the idea of the gcode being infinitely repeatable but of course, no two spools of filament are the same so I really need to reslice for each swapout. I was thinking it would be helpful to have a database of filament from various suppliers but every machine has different ways of measuring temps and extruding so I'm not sure how useful my data would be to anyone else.
Science World was fun...I had to leave early but lots of good stuff was going on.