fixed up the state timer variables and display - untested