centralize the stop/start preview code