Change gcode append function to split input in smaller pieces to keep the frequent erase calls efficient.
Log duration of gcode append() and of cleanupGCode().
Set buffer chunk size to 8KB.