Fix crash when starting session quickly after starting preview, tweak bandwidth algorithm a bit