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
I'm not sure it's necessary. but i thought that since it was set and read in different places across multiple threads.