Stylistic changes, and parameterized the stall recovery time.