Fix GCode parsing and receive line callback calling.