Implement DoState in VTimer

Fixed things pointed out in a previous pull request.