There are no M0 or M1 in the Cura generated G-code. It always happens after the auto bed level and before the print begins. I'm leaning very strongly towards printbus's interpretation.

What was the bed topology report bug? Did it write off the end of a buffer or something like that?