Comment in gcode issue fix 1

Remove empty line at start of part that’s checked
Comment in geode issue fix 2

Make sure the buffer ends with an empty line, so new lines are added on
their own line