Variable renaming and comment modification
gStepState renamed to autoStepState
use TIMER_END_STEP instead of time1[T1]
shortened todo comment, deleted finished things