Robot trace in 2D model

Added "Prepare Marker" and "Remove Marker" blocks starting and canceling drawing robot`s trace in 2D model.
Also critical generators bug fixed.