Fix timer stopping. Add logging.