This patch is important !
Setting current_block to NULL leads to crashes, when current block is accessed in other parts that are still running.
Theese crashes are very rare. The same is true for the extruder and is patched later...