Need to handle browser unreliability.  Perhaps save execution state.