removed unused code
fix run_in_synced_context argument ist.
use is_skipping() in replay.
removed an unneeded include