add flag waving option to Picture effect
write playback checkpoints to file for crash monitoring