Added timer and fixed driver getting weird stuff.