added console clear and step-by-step playback on simulation mode