fixed code path where slowmodeactive could be true if we're out of slowm...

...ode, changed variable name to reflect the period and not necessarely a second